package com.tianji.learning.service;

import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domain.dto.ReplyDTO;
import com.tianji.learning.domain.page.ReplyPageQuery;
import com.tianji.learning.domain.po.InteractionReply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.domain.vo.ReplyVO;

/**
 * <p>
 * 互动问题的回答或评论 服务类
 * </p>
 *
 * @author rui
 * @since 2024-07-21
 */
public interface IInteractionReplyService extends IService<InteractionReply> {

    void addReply(ReplyDTO replyDTO);

    PageDTO<ReplyVO> pageQueryReply(ReplyPageQuery pageQuery);

    PageDTO<ReplyVO> adminReplyPageQuery(ReplyPageQuery pageQuery);

    void hiddenReply(Long answerId, Boolean hidden);
}
